{% extends "start.html" %}

{% block extraTitle %}-Buy item{% endblock %}

{% block topbar %}
{% endblock %}



{% block pageTitle %}Buy Items{% endblock %}
{% block sectionTitle %}Congrats!{% endblock %}

{% block content %}    
    <font size="6"><strong>
        Yeahh!<br />
        You have spent your money wisely!<br />
        Enjoy your new 
        <center><img src="../../static/items/{{ theItem.name }}.jpg"  width="100" height="100"></center>
        <br />
        Ohh , btw <br />
        <ul>
            <li>Energy + {{ theItem.energy_boost }}</li>
        </ul>
        <center><a href="/myitems/">Check your items</a></center>
    </strong></font>
{% endblock %}



{% block profile %}
    {% block level %}
        <img src="../../static/levels/{{profile.level}}.0.jpg"  width="84" height="80">
    {% endblock %}
    <font size="3">
        <ul>
            <li>EXP: {{ profile.experience }} </li>
            <li>${{ profile.money }}.00 </li>
            <li>Energy :{{ profile.energy }}/{{profile.total_energy}} </li>
        </ul>
    </font>
{% endblock %}